home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / conf / csnet-relay / d_lock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-05-11  |  692 b   |  22 lines

  1. /*
  2.  * COMPILE-TIME CONFIGURATION OF THE PHONE CHANNEL LOCKING METHOD
  3.  *
  4.  * These definitions determine where lockfiles are placed, the format
  5.  * of those files, and how a lock is verified.
  6.  */
  7.  
  8. #define    UUCPLOCK    "/usr/spool/locks"    /* directory for locking
  9.                         compatible with tip/cu/
  10.                         uugetty/uucp */
  11.  
  12. #define    ASCIILOCKS        /* if you want your lockfiles to contain
  13.                 ascii, rather than binary, representations
  14.                 of pids. MUST match value in
  15.                 /usr/src/cmd/uucp/parms.h */
  16.  
  17. #define    SIZEOFPID    10    /* maximun number of digits in a pid.
  18.                 MUST match value in /usr/src/cmd/uucp/uucp.h */
  19.  
  20. #define    ATTSVKILL        /* if your system has kill(pid, 0) to
  21.                 check the existence of a process */
  22.